Subject: King of the Hill From: wms@iwarp.intel.com (William Shubert) Organization: Intel iWarp, Beaverton, Oregon, USA Date: 4 Dec 91 06:02:32 GMT Message-ID: <1991Dec4.060232.7106@iWarp.intel.com> OK, folks, I spoke of it earlier and now it's ready. An implementation of King of the Hill corewar - a cumulative tournament. Justin seems to have finished up his also, but hey, enter both! How to enter? Simple! Format your corewar program as follows: ;redcode ;Name ;Author And mail it off to: wms@iwarp.intel.com The ";redcode" line is very important; without it my demon will think that it's mail for me and not enter it in the tournament. After receiving your mail, the demon should within a few minutes try to assemble it and reply to you with a message either telling you that all is well or that your program couldn't compile. If something goes wrong it will try to tell you what. The assembler is fully ICWS '88 compatible WITH the following exceptions: A comma is required between two operands. The EQU pserdo-op does a parenthesized text insertion instead of straight text insertion. The core size is 8000 instructions. In addition to the normal +, -, *, and / operators parenthesis can be used in an argument. I do not think that this is in ICWS '88. Notice that it implements every goofy restriction in the standards; for example, DAT instructions can only support immediate or pre-decrement argument(s). So hurry up! Send any program you have, no matter what it may be like, and when I get enough together I'll run the tournament. It is round-robin with every program playing every other 10 times (5 going first, 5 going second). 3 points for a win, 1 for a tie, 0 for a loss. SAMPLE PROGRAM: ;redcode ;name Dwarf ;author A. K. Dewdney bomblen: equ progend - bomb bomb: dat #0 start: add #bomblen,bomb mov bomb,@bomb jmp start progend: end start PS - DON'T include a line like ";address this problem" in your code; this will be interpreted as your return address for a mailer. PPS - I may not have sufficiently tested this program. It may crash, in which case all later programs sent in will not get replies. If this happens, please bear with me. Also, if you get a "weird" error message tell me about it. -Bill (wms@iwarp.intel.com)